package com.cg.managesystem.mapper;

import com.cg.managesystem.entity.Order;

import java.util.List;

public interface OrderMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Order record);

    Order selectByPrimaryKey(Integer id);

    List<Order> selectAll();

    int updateByPrimaryKey(Order record);

    //用户创建订单
    int createOrder(Order order);
}